{extends file="../acp.html"}

{block name="title"}{$head_title}{/block}
{block name="content"}
<form id="J_FormArticle" action="" method="post">
<div class="formitems inline">
    <label class="fi-name"><span class="colorRed">*</span>服务类型名称：</label>
    <div class="form-controls">
        <input type="text" placeholder="" class="xlarge" name="service_type_name" id="service_type_name" value="{$service_type_info.service_type_name}">
        <span class="fi-help-text hide"></span>
    </div>
</div>

    {upload_image_widget($icon_pic)}

<div class="formitems inline">
    <label class="fi-name"><span class="colorRed">*</span>排序号：</label>
    <div class="form-controls">
        <input type="text" placeholder="" class="xlarge" name="serial" id="serial" value="{$service_type_info.serial}">
        <span class="fi-help-text hide"></span>
    </div>
</div>

<!--{upload_image_widget($class_icon_data)}-->

<div class="formitems inline">
    <label class="fi-name">是否有效：</label>
    <div class="form-controls">
        <div class="radio-group">
            <label><input type="radio" name="isuse" value="1" {if $service_type_info.isuse == 1}checked="checked"{/if} />是</label>
            <label><input type="radio" name="isuse" value="0" {if $service_type_info.isuse == 0}checked="checked"{/if} />否</label>
        </div>
    </div>
</div>

<div class="formitems inline">
    <label class="fi-name">是否自有服务：</label>
    <div class="form-controls">
        <div class="radio-group">
            <label><input type="radio" name="is_service" value="1" {if $service_type_info.is_service == 1}checked="checked"{/if} />是</label>
            <label><input type="radio" name="is_service" value="0" {if $service_type_info.is_service == 0}checked="checked"{/if} />否</label>
        </div>
    </div>
</div>


<div class="formitems inline">
    <label class="fi-name"></label>
    <div class="form-controls">
        <input type="hidden" name="act" value="{$act}" />
        <button type="submit" class="btn btn-blue"><i class="gicon-check white"></i>添加</button>
    </div>
</div>
</form>
{/block}